cmake_minimum_required (VERSION 3.10)

# set the project name 
project(app)

# add the include search path
include_directories(src/lcd src/camera)

# recurse all subdirectories
# note: The SRC directory must be specified
# https://blog.csdn.net/m0_37542524/article/details/104409600
file(GLOB_RECURSE SOURCES ${CMAKE_SOURCE_DIR}/src/*.c)

# add the executable 
add_executable(app ${SOURCES})
